Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to remove tab and text after tab using GREP script.

Explorer ,
Nov 05, 2022 Nov 05, 2022

Hi,

How to use GREP script to remove tab including text after tab.

TOPICS
Scripting
371
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Nov 05, 2022 Nov 05, 2022
 replace(/\t+.*/,"")

 

Translate
Explorer ,
Nov 05, 2022 Nov 05, 2022
 replace(/\t+.*/,"")

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 05, 2022 Nov 05, 2022
LATEST

Ok.

That is a possible variant. Although not quite what you described at the beginning.

 

Your grep finds:

tabulator \t
one or more +
any character .
zero or more *

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines