XPath: Does Not Match
Combining the matches() function with not() allows you to exclude elements whose content matches a specific regular expression pattern.
You can use the following XPath:
Example 1 : //ul[@class='list-group']/li[not(matches(.,'(\d{2}/\d{2}/\d{2})$',i))]
- 12/12/25
- 12/11/2025
- 12/10/2025
- 12/09/2025
- 12/08/2025
- 12/07/2025
- 12/06/2025
- 12/05/2025
- 12/04/2025
- 12/03/2025
- 12/02/2025