Thread: Regex examples
View Single Post
Old 04-04-2022, 10:43 AM   #704
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 BeckyEbook View Post
Start with something similar:
Code:
id="[A-Fa-f0-9-]+"
Thank you so much Becky, that worked great.

I did not realise you could combine alphanumeric characters within one set of brackets.

I had been trying [A-z]+[a-z]+[0-9]+ without success.
Ashjuk is offline   Reply With Quote