473,499 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to replace a charater from end a multiline text using php ?

25 New Member
Hi All,

I have a multi line text , i want to remove the '=' sign and space at the end of the each line. How can i remove that '=' sign , there is no \n or <br> to check the new line .
How can be done this using php.If anyone knows please help me.. Thanks in advance..

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
  2. w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns=3D"http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8" />
  6. <title>title here</title>
  7. </head>
  8. <body>
  9.  
  10. <table width=3D"650" border=3D"1" cellpadding=3D"0" cellspacing=3D"0" align=
  11. =3D"center">=20
  12. <tr> <td>
  13.  
  14. <table width=3D"650" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" align=
  15. =3D"center">
  16. <tr>
  17. <td colspan=3D"3">
  18. <a href=3D"http://e.ccialerts.com/a/hBNCRBwB8N6AvB8WQuONhRMu1Sp/cnyb8a"><im=
  19. g src=3D"http://f.chtah.com/i/10/2084020271/12.15.10_book_header.gif" width=
  20. =3D"650" height=3D"300" alt=3D"Subscribe to Business for=
  21. =03 only $29.95 and get the Lists=03with your paid subscript=
  22. ion! " border=3D"0"></a></td>
  23. </tr>
Feb 23 '12 #1
1 1551
Dormilich
8,658 Recognized Expert Moderator Expert
How can i remove that '=' sign , there is no \n or <br> to check the new line .
if there's no \n or <br>, how is it the end of a line then?
Feb 24 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1761
by: raj | last post by:
I have multiline-text box in my C# application. User enter text into the multiline-text box, and without completing the whole line, user press Enter Key and go to the next line, by leaving the...
0
1114
by: raj | last post by:
I have multiline-text box in my C# application. User enter text into the multiline-text box, and without completing the whole line, user press Enter Key and go to the next line, by leaving the...
6
6115
by: Iver Erling Årva | last post by:
I am looking for a way to let the users copy e.g. a multi-line address from a textfile and paste it into a webpage where there is one input field for each address line in such a way that not only...
2
1504
by: gjtired | last post by:
Hi, I'm not sure the best way to do something and I hope someone can help me. I'm developing a web application that a user enters test questions in. I store the questions in a database. When a...
1
4117
by: Michael Tanner | last post by:
I have a multiline text box. I would like some of the text to be one font color and other text another font color. Is this possible with a multiline text box?
2
4591
by: Chris | last post by:
Hi We are using style sheets to set the font of our labels and text boxes. This has been working great until we required a text box with a textmode of Multiline. The control picks up the...
1
6697
by: Tracey | last post by:
Hi, there My application requires to display multiline text in the cell of datagrid. I set the preferredheight of datagrid's tablsstyle, however, it is fixed. For text longer than that, the rest...
3
2304
by: Owen Richardson | last post by:
I have read several posts regarding formatting multiline text for rendering becuase vbCrLf needs to be converted to <br/tags, and i need to do the same. My question is the best way to achieve this...
6
2978
by: dawnerd | last post by:
Hello everyone. I have a question, or problem if you will, that I'm sure someone knows the answer to. I have a database that stores information on a given user. The information is stored in a...
2
9345
by: King | last post by:
Is there any other way to define multiline text in a XML file: <Help><!]> </Help>
0
7130
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5468
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4599
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3098
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
295
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.