Thread: Regex examples
View Single Post
Old 04-05-2022, 03:46 AM   #706
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by theducks View Post
id=".+?"
would find ID= with any ID value between quotes
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.
Ashjuk is offline   Reply With Quote