Hi All,

im having difficulty trying to match lets say a string that is between 1 to 3 chars long and are all capitals..

i tried .{1,3}[A-Z] but it didnt work..

for ex.. "blah blahBLAh" ..

what would be the reg ex code to match the BLA in the middle ??

any help would be appreciated. Thanx..

Recommended Answers

All 3 Replies

Try this: [A-Z]{1,3}

ahh .. worked .. ahah

thank you .. wow ..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.