Thread: Regex examples
View Single Post
Old 04-08-2022, 09:49 AM   #708
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,167
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Ashjuk View Post
Thanks.

That was one of the suggestions I had found by searching for how to match any string.

I note that the expression above is not in brackets. I think that when I was trying I put it it inside brackets, which is probably why it did not work for me.

I am very much a novice when it comes to regex.
( ) is a capture
[ ] is a set/range of possibilities
{ } is number of repetitions
Get yourself a REGEX cheat sheet
theducks is offline   Reply With Quote