By gimley
I tried the following PERL EXPRESSION but it did not work:
[^[:word:]] या
or
^W या
But both gave Null results
I am giving below a Sample file:
देना या सौंपना=delegate
तह जमना या जमाना=film
झुकना या झुकाना=slant
घुलना या घोलना=dissolve
घिसना या घिसाना=grate
खुले आम या प्रकट=avow
एड़ लगाना या देना=spur
उभरना या उभारना=heave
उचकाना या झाड़ना=shrug
आना या कुछ करना=mistime
हो जाना या होना=orient
होना या हो जाना=double
लिखना या लगाना=preface
बल या शिकन पड़ना=cockle
I would like the REGEX to single out all lines where the word या occurs in second position.
Many thanks for the help.
From: http://www.unix.com/shell-programming-scripting/221723-regex-identify-word-second-position-line.html