yes one or more times. what i need is to find occurrences of 23a or a23 or aa23 and so on. it must be "a" or "23". i was in a hurry. and sorry for my english
Joined: Apr 02, 2007
thanks. is it possible to write such expression only with and ()?? grouping doesn't work in [(a(23)]
Joined: Sep 20, 2005
Originally posted by Jonas Dimsa: thanks. is it possible to write such expression only with and ()?? grouping doesn't work in [(a(23)]
Does the expression I gave above, ((23)|a)+, fail your criteria?
It uses the | operator, but it pretty much has to. The square-brackets character class construct is sort of an OR operator but it only works on characters. It is the | operator that is the general OR. [ February 28, 2008: Message edited by: Brian Cole ]