Regex help [SOLVED]
Thread poster: Erik Freitag

Erik Freitag  Identity Verified
Local time: 05:45
Member (2006)
Dutch to German
+ ...
Nov 3, 2013

Dear colleagues,

I'm looking for a regex that will show all segments that consist of a dot (".") only. No success so far, but my knowledge about regex is very limited. I'd be very grateful for any help.

Kind regards,

Edit: Just found a solution: ^[\.]$

[Bearbeitet am 2013-11-03 14:27 GMT]

[Bearbeitet am 2013-11-03 15:33 GMT]


FarkasAndras  Identity Verified
Local time: 05:45
English to Hungarian
+ ...
[] Nov 3, 2013

That will work, but the [] is not necessary. ^\.$ will do the same thing.
[] creates a 'character class'. For instance, you would need it for matching a line that is made up of a single dot, comma or semicolon: ^[\.,;]$
As you only have only one character in there, there is no need for the brackets.


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

Regex help [SOLVED]

Advanced search

PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search