Hi,
I have a text “XXXX yyyy111”. I need to replace it with “XXXX *******”. How do i match the pattern. Please help.
Thanks a lot,
Sajith
Hi there,
Thanks for your inquiry. You can easily achieve your requirements using Aspose.Pdf. Please check following documentation links for details/code snippet for replacing text in existing PDF document. Hopefully it will serve the purpose.
Please feel free to contact us for any further assistance.
Best Regards,
Hi,
Thanks a lot for the information. I could do it with Aspose.Pdf. Is this possible with Aspose.Pdf.Kit?
Sajith
Hi there,
Thanks for your inquiry. I would like to update you that Aspose.Pdf.Kit for .NET was discontinued since 6.0.0 release and was merged in Aspose.PDF for .NET as Aspose.Pdf.Facades namespace. So if you want to execute your old Aspose.Pdf.Kit code, you can use Aspose.Pdf.Facades namespace while using Aspose.PDF for .NET.
So you can also use Aspose.Pdf.Facades to search and replace text in existing PDF document. Please check following documentation to work with text using facades namespace. Hopefully it will help you to fulfill your requirements.
Please feel free to contact us for any further assistance.
Best Regards,
Hi,
Thanks a lot for the quick reply. We have license for Pdf.Kit (OEM developer version). So I would like to know the following,
- Do we need to renew the license annually?
- If Kit has been discontinued how do you handle annual subscriptions of existing customers?
- Since we have the Kit version what will be the cost to move to Aspose.Pdf? (I saw the OEM developer license fee for Aspose.Pdf is about $2400 which is huge compared to the Kit version)
- Can we purchase a smaller version like what we had in Pdf.Kit and Pdf.Facades?
Thanks,
Sajith
sajithrawindralal:Thanks a lot for the quick reply. We have license for Pdf.Kit (OEM developer version). So I would like to know the following,
- Do we need to renew the license annually?
Hi Sajith,
In case you older Aspose.Pdf.Kit license is expired before the release date of MergedAPI of Aspose.Pdf for .NET, you will have to renew the license subscription.
sajithrawindralal:If Kit has been discontinued how do you handle annual subscriptions of existing customers?
The time when MergedAPI was released, the customer having valid license (license with expiry date after the release of MergedAPI), they were able to use the license of Aspose.Pdf.Kit for .NET with merged release. However customers with expired licenses had to upgrade their license subscription.
sajithrawindralal:Since we have the Kit version what will be the cost to move to Aspose.Pdf? (I saw the OEM developer license fee for Aspose.Pdf is about $2400 which is huge compared to the Kit version)
sajithrawindralal:Can we purchase a smaller version like what we had in Pdf.Kit and Pdf.Facades?
I am not entirely certain about any such option but I have intimated my fellow workers from sales team to further look into this query. Soon you will be updated with the required information.
Hi Sajith,
Many thanks for your enquiry, and I am happy to respond to your questions from the Sales and Licensing perspective.
o
Our licences are permanent and come with the first year's
maintenance subscription. The subscription allows the download of all new versions of the product, including hot fixes and security fixes, and, optionally, can be renewed annually. The cost of the renewal is calculated as 50% of the then cost of product if renewed within term, and 60% if it has been allowed to expire.
o A licence with a current subscription for Aspose.Pdf.Kit for Java will work with the new merged Aspose.Pdf for Java.
o There’s no cost as such to change over if your subscription is current, but at the next renewal, the cost will be that of Aspose.Pdf.
o No, I’m afraid not. The new merged product is only available as a complete unit.
Please let me know if I can help further.
Kind regards,
George.
Hi,
Thanks a lot for the previous information.
Now it’s possible me to replace a word if I know the pattern. But if I don’t know the pattern of the next word how do I write the regular expression? Please help me with the following example.
I need to replace the “UserID: sajith123” with “UserID: xxxxxxx”
(here I have "UserID:)
How do I match the pattern “UserID:”?
Thanks a lot,
Sajith
Hi Sajith,
Thanks for your feedback. We are looking into your requirement and will get back to you soon.
Best Regards,