Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-02-08 13:16
Updated·2024-02-08 13:17
Flavor·ECMAScript (JavaScript)

/
(?:[ ]*)(?<texto>[^\t]*?)(?:[ ]*[\xA0]|[ ]*(?<tab1>\t))
/
gm
Open regex in editor

Description

Remove caracteres ocultos (\x160) e arruma textos com espaços extras antes e depois da palavra para dados tabulados (com tab)

Submitted by Danilo Ikebara