Regex help [SOLVED]
Thread poster: Erik Freitag

Erik Freitag  Identity Verified
Local time: 07:27
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]


Local time: 07:27
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

SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »

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